package old;

/**
 * @author krystal
 * @date 2023/3/5 17:47
 */
public class Bottom {
    private Tire tire;

    public Bottom(int size){
        tire=new Tire(size);
    }
    public void init(){
        System.out.println("执行了buttom init方法");
        //依赖轮胎
        tire.init();
    }
}
